﻿URLSite = '';
URL = ''


//Scroll news for default
$(document).ready(function(){
    var newsoption1 = {
      firstname: "mynews",
      secondname: "showhere",
      //thirdname:"news_display",
      fourthname:"news_button",
      mouseover: false,
      imagedir: URL + '/images/',

       newsspeed:'8000'
    }
    $.init_news(newsoption1);


    //var myoffset=$('#news_button').offset();

    //var mytop=myoffset.top-1;

    //$('#news_button').css({top:mytop});

});

$(document).ready(function() {      
      checksize();
});
$(window).bind('resize', function() {    
    checksize();
});